package Extenddemo;

public class animal{
    String name;
    int age;
    float weight;
    String color;
    public void bark(){
        System.out.println(name+"正在叫....");
    }
    public void eat()
    {
        System.out.println(name+"正在吃饭....");
    }

}
